package com.ks.phone;

import com.ks.phone.responseBean.UserResponse;

public class UserManager {

    private UserResponse.UserDTO user;

    private static class UserManagerHolder{
        private static final UserManager instance = new UserManager();
    }

    public UserManager() {}

    public static UserManager getInstance() {
        return UserManagerHolder.instance;
    }

    public UserResponse.UserDTO getUser() {
        return user;
    }

    public void saveUser(UserResponse.UserDTO user) {
        this.user = user;
    }
}
